﻿<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        欢迎使用 ASP.NET!
    </h2>
    <table>
    <tr>
    <td>
     <p>
        <asp:Chart ID="Chart1" runat="server" Height="400px" Width ="462px" 
            DescriptionUrl="~/About.aspx">
            <Series>
                <asp:Series Name="Series1" ChartArea="ChartArea1" ChartType="StackedColumn" 
                    Legend="Legend1">
                </asp:Series>
                <asp:Series Name="Series2" ChartArea="ChartArea1" ChartType="StackedColumn" 
                    Legend="Legend1">
                </asp:Series>
                 <asp:Series Name="Series3" ChartArea="ChartArea1" ChartType="StackedColumn" 
                    Legend="Legend1">
                </asp:Series>
            </Series>
           
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1">
                  
                </asp:ChartArea>
               
            </ChartAreas>

          

            <Legends>
                <asp:Legend Name="Legend1">
                </asp:Legend>
            </Legends>

          

        </asp:Chart>
    </p>
    </td>
    <td>
     <p>
       
       <asp:Chart ID="Chart2" runat="server" Height="400px" Width ="421px" 
            DescriptionUrl="~/About.aspx" BackColor="">
            <Series>
                <asp:Series Name="Series1" ChartArea="ChartArea1" ChartType="Pie" Legend="Legend1" 
                   >
                </asp:Series>
                <asp:Series Name="Series2" ChartArea="ChartArea1" ChartType="Pie" 
                    Legend="Legend1">
                </asp:Series>
                 <asp:Series Name="Series3" ChartArea="ChartArea1" ChartType="Pie" 
                    Legend="Legend1">
                </asp:Series>
            </Series>
           
           
           
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1">
                    <Area3DStyle Enable3D="True" />
                </asp:ChartArea>
            </ChartAreas>
            <Legends>
                <asp:Legend Name="Legend1">
                </asp:Legend>
            </Legends>
        </asp:Chart>
    </p>
    </td>
    </tr>
    </table>
   
    
    <p>
        您还可以找到 <a href="http://go.microsoft.com/fwlink/?LinkID=152368"
            title="MSDN ASP.NET 文档">MSDN 上有关 ASP.NET 的文档</a>。
    </p>
</asp:Content>
